home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows News 2005 November
/
WNnov2005.iso
/
Windows
/
Equipement
/
hMailServer
/
hMailServer-4.1-Build-136.exe
/
{app}
/
Addons
/
Squirrelmail Plugins
/
hmailserver_changepass
/
setup.php
< prev
Wrap
PHP Script
|
2004-07-06
|
2KB
|
69 lines
<?php
function squirrelmail_plugin_init_hmailserver_changepass() {
global $squirrelmail_plugin_hooks;
$squirrelmail_plugin_hooks['options_save']['hmailserver_changepass'] = 'hmailserver_changepass_save_pref';
$squirrelmail_plugin_hooks['optpage_set_loadinfo']['hmailserver_changepass'] = 'hmailserver_changepass_optpage_loadinfo';
$squirrelmail_plugin_hooks['optpage_register_block']['hmailserver_changepass'] = 'hmailserver_changepass_opt';
}
function hmailserver_changepass_check_password_force() {
if (defined('SM_PATH'))
include_once(SM_PATH . 'plugins/hmailserver_changepass/functions.php');
else
include_once('../plugins/hmailserver_changepass/functions.php');
hmailserver_changepass_check_password_force_do();
}
function hmailserver_changepass_opt() {
if (defined('SM_PATH'))
include_once(SM_PATH . 'plugins/hmailserver_changepass/functions.php');
else
include_once('../plugins/hmailserver_changepass/functions.php');
hmailserver_changepass_opt_do();
}
function hmailserver_changepass_optpage_loadinfo() {
if (defined('SM_PATH'))
include_once(SM_PATH . 'plugins/hmailserver_changepass/functions.php');
else
include_once('../plugins/hmailserver_changepass/functions.php');
hmailserver_changepass_optpage_loadinfo_do();
}
function hmailserver_changepass_save_pref() {
if (defined('SM_PATH'))
include_once(SM_PATH . 'plugins/hmailserver_changepass/functions.php');
else
include_once('../plugins/hmailserver_changepass/functions.php');
hmailserver_changepass_save_pref_do();
}
function hmailserver_changepass_version() {
return '1.0';
}
?>